﻿<%@ Page Title="הפקת טפסים" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="ProduceForms.aspx.cs" Inherits="TempEmployees.Web.ProduceForms" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:LinkButton ID="LinkButtonBack" runat="server" OnClick="LinkButtonBack_Click" Visible="false">חזרה</asp:LinkButton>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <p>
                <asp:TextBox ID="EmployeeIDTextBox" runat="server" />
                &nbsp;
                <asp:Button ID="EmployeeIDButton" runat="server" Text="בחר" OnClick="EmployeeIDButton_Click" />
            </p>
            <p id="ProduceButtonsSection" runat="server" visible="false">
                הפקת טפסים עבור
                &nbsp;
                <asp:Label ID="EmployeeIDLabel" runat="server" Text="" />:
                &nbsp;&nbsp;
                <asp:Button ID="ProduceEmployeeDetails" runat="server" Text="פרטי עובד" OnClick="ProduceEmployeeDetails_Click" />
                &nbsp;&nbsp;
                <asp:Button ID="ProduceMosadStudent" runat="server" Text="עובד מוסדי" OnClick="ProduceMosadStudent_Click" />
                &nbsp;&nbsp;
                <asp:Button ID="ProduceNewEmployee" runat="server" Text="עובד חדש" OnClick="ProduceNewEmployee_Click" />
            </p>
        </ContentTemplate>
        <Triggers>
            <asp:PostBackTrigger ControlID="ProduceEmployeeDetails" />
            <asp:PostBackTrigger ControlID="ProduceMosadStudent" />
            <asp:PostBackTrigger ControlID="ProduceNewEmployee" />
        </Triggers>
    </asp:UpdatePanel>
</asp:Content>
